# -*- mode: snippet -*-
# name: Author Response Letter
# key: response
# group: templates
# expand-env: ((yas-indent-line 'fixed))
# --
\documentclass[a4paper,11pt]{article}
%\usepackage[margin=30mm]{geometry}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{times,helvet,newtxmath}
\usepackage[scaled=0.95]{inconsolata}

\usepackage{latexsym,amsmath,amssymb,amsfonts,mathrsfs}
\usepackage{enumitem}

\usepackage{setspace}  \onehalfspacing
\usepackage[parfill]{parskip}

\usepackage{graphicx}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{subcaption}

\usepackage[dvipsnames]{xcolor}
\usepackage[colorlinks=true,linkcolor=magenta,citecolor=blue]{hyperref}
\usepackage[round,sort]{natbib}

\let\openbox\undefined
\usepackage{amsthm,thmtools,xcolor}
\newenvironment{review}{\par\medskip\itshape\color{blue}}{}
\declaretheoremstyle[
  headfont=\color{black}\normalfont\bfseries,
  bodyfont=\color{black}\normalfont\upshape,
  headpunct=:,
]{response}
\declaretheorem[style=response, name=Response by authors]{response}
\newcommand{\resp}{\textbf{Response by authors}}

\begin{document}

\title{Author's Response to Review Comments and Statement of Changes}
\author{}
\date{}
\maketitle

% adding toc if many pages
% \setcounter{tocdepth}{1}
% \tableofcontents
% \vspace*{10mm}

% ----------------- MAIN --------------------

% Place review comments in the env. {review}
\begin{review}
    review comments here...

\end{review}

% Place author responses in the env. {response};
\begin{response}\label{resp:XXX}
    author's response here... referred by \resp~\ref{resp:XXX}

\end{response}



% --------------- BIBLIOGRAPHY --------------
% \def\bibfont{\small}
% \bibliographystyle{abbrvnat}  % plainnat,abbrvnat,unsrtnat; natbib
% \bibliography{./ref/library}

\end{document}
